﻿using System;

namespace _0422
{
    class Program
    {
        static void Main(string[] args)
        {
            Programmer p = new Programmer();
            p.Type= "程序员";
            p.Name = "张三";
            p.Site = "福建省龙岩市";
            p.Birthday = "1987-02-27";
            p.Commission =6000;
            p.GetPro();
            p.GetSalary();
            Secretary s = new Secretary();
            s.Type = "秘书";
            s.Name = "小妤";
            s.Site = "福建省泉州市";
            s.Birthday = "2001-05-20";
            s.GetSec();
            s.GetSalary();
            Manager m = new Manager();
            m.Type = "高层管理";
            m.Name = "江烨";
            m.Site = "福建省厦门市";
            m.Birthday = "2001-07-19";
            m.Commission = 8000;
            m.GetMan();
            m.GetSalary();
            Cleaner c = new Cleaner();
            c.Type = "清洁工";
            c.Name = "李大爷";
            c.Site = "福建省龙岩市";
            c.Birthday = "1956-10-21";
            c.GetClean();
            c.GetSalary();

        }
    }
}
